﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.SystemManager.ApplyGather;
using SystemCenterSoa.IRepository.SystemManager.ApplyGather;
using SystemCenterSoa.PoModel.SystemManager.ApplyGather;

namespace SystemCenterSoa.Service.SystemManager.ApplyGather
{
    public class EvectionApplyService
    {
        private IEvectionApplyRepository _evectionApplyRepository;
        public EvectionApplyService(IEvectionApplyRepository evectionApplyRepository)
        {
            _evectionApplyRepository = evectionApplyRepository;
        }
        public bool GetEvectionApplyAdd(EvectionApplyPo evectionApplyPo)
        {
            return _evectionApplyRepository.GetEvectionApplyAdd(evectionApplyPo);
        }
        public List<EvectionApplyDto> GetEvectionApplyList(int deId, string nian, string yue, int pageIndex, int pageSize)
        {
            return _evectionApplyRepository.GetEvectionApplyList(deId, nian, yue, pageIndex, pageSize);
        }
        public EvectionApplyPo GetEvectionApplyFan(int id)
        {
            return _evectionApplyRepository.GetEvectionApplyFan(id);
        }
        public bool GetEvectionApplyUpdate(EvectionApplyPo evectionApply)
        {
            return _evectionApplyRepository.GetEvectionApplyUpdate(evectionApply);
        }
        public bool GetEvectionApplyDel(string ids)
        {
            return _evectionApplyRepository.GetEvectionApplyDel(ids);
        }
    }
}
